//
//  ViewController.swift
//  JWBaseLib
//
//  Created by 周季伟 on 2017/11/20.
//  Copyright © 2017年 周季伟. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
    
    let httpTool = TestHttpTool()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        httpTool.getGithubData { (result) in
            guard let value = result.value else { print("没有数据"); return }
            print(value)
        }
    }


}

